import { createApp } from 'vue'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import * as VueRouter from 'vue-router';
import './global.css'
/*import axios from 'axios'
import VueAxios from 'vue-axios'*/

import { createRouter, createWebHashHistory} from 'vue-router'
import routes from "./config/routers";



const app = createApp(App);
app.use(Vant)

const router = createRouter({
/*
    history: createWebHashHistory(),
*/

    history : VueRouter.createWebHistory(),
    routes,
})
app.use(router);
/*
app.use(VueAxios, axios)
*/
app.mount('#app')










